From cb823b805af99e2ed0833a79536900c5a510c4c1 Mon Sep 17 00:00:00 2001 From: Yevgen Muntyan Date: Mon, 2 Jun 2008 23:20:13 +0000 Subject: [PATCH] Bug 535497 - Print preview doesn't work. 2008-06-02 Yevgen Muntyan Bug 535497 - Print preview doesn't work. * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open instead of launching Preview.app directly. svn path=/trunk/; revision=20289 --- ChangeLog | 7 +++++++ gtk/Makefile.am | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2604982993..2b3a5efd31 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-06-02 Yevgen Muntyan + + Bug 535497 – Print preview doesn't work. + + * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open + instead of launching Preview.app directly. + 2008-06-02 Michael Natterer * gtk/gtksignal.h: put back #include , it's not diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 5042c03f2a..8a8204ef6f 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -6,7 +6,7 @@ xdgmimedir = if OS_UNIX xdgmimedir += xdgmime if USE_QUARTZ -GTK_PRINT_PREVIEW_COMMAND="/Applications/Preview.app/Contents/MacOS/Preview %f" +GTK_PRINT_PREVIEW_COMMAND="open -a /Applications/Preview.app %f" else GTK_PRINT_PREVIEW_COMMAND="evince --unlink-tempfile --preview --print-settings %s %f" endif -- 2.30.2